package com.ruoyi.base.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 地块操作对象 base_land
 * 
 * @author ruoyi
 * @date 2024-01-06
 */
public class BaseLand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long id;

    /** 地块名称 */
    @Excel(name = "地块名称")
    private String landName;

    /** 地块面积 */
    @Excel(name = "地块面积")
    private String landArea;

    /** 果树数量 */
    @Excel(name = "果树数量")
    private Long treeNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLandName(String landName) 
    {
        this.landName = landName;
    }

    public String getLandName() 
    {
        return landName;
    }
    public void setLandArea(String landArea) 
    {
        this.landArea = landArea;
    }

    public String getLandArea() 
    {
        return landArea;
    }
    public void setTreeNumber(Long treeNumber) 
    {
        this.treeNumber = treeNumber;
    }

    public Long getTreeNumber() 
    {
        return treeNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("landName", getLandName())
            .append("landArea", getLandArea())
            .append("treeNumber", getTreeNumber())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
